﻿using Hicap.QRCodeWarehouse.Processor.Model;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Hicap.QRCodeWarehouse.Processor.Manager
{
    public interface ICodeTakenManager : IManagerBase
    {
        Task<FileInfo> GenDataFile(CodeTakenConfig config, Action<decimal> progress);

        Task<int> GetTotoalDownloadCount(CodeTakenConfig config);

        void UpdateCodeStatus(List<string> list, CodeTakenConfig config);
    }
}